package com.woniuxy.movice.entity;

import java.util.List;
import java.io.Serializable;

public class Movie implements Serializable {
	/**
	 * 222
	 */
	private static final long serialVersionUID = -9027803211992689202L;
	private Integer id;
	private String mname;// 影片名称
	private String ref;// 影片封面
	private String director;
	private String mtype;// 类型
	private String mstar;// 主演
	private Integer mlength;// 时长
	private Float mcomment;// 评分
	private String mmassage;
	private String location;
	private String language;
	private List<MovieImg> movieImgs;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMname() {
		return mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public String getRef() {
		return ref;
	}

	public void setRef(String ref) {
		this.ref = ref;
	}

	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	public String getMtype() {
		return mtype;
	}

	public void setMtype(String mtype) {
		this.mtype = mtype;
	}

	public String getMstar() {
		return mstar;
	}

	public void setMstar(String mstar) {
		this.mstar = mstar;
	}

	public Integer getMlength() {
		return mlength;
	}

	public void setMlength(Integer mlength) {
		this.mlength = mlength;
	}

	public Float getMcomment() {
		return mcomment;
	}

	public void setMcomment(Float mcomment) {
		this.mcomment = mcomment;
	}

	public String getMmassage() {
		return mmassage;
	}

	public void setMmassage(String mmassage) {
		this.mmassage = mmassage;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public List<MovieImg> getMovieImgs() {
		return movieImgs;
	}

	public void setMovieImgs(List<MovieImg> movieImgs) {
		this.movieImgs = movieImgs;
	}

	public Movie(Integer id, String mname, String ref, String director, String mtype, String mstar, Integer mlength,
			Float mcomment, String mmassage, String location, String language, List<MovieImg> movieImgs) {
		super();
		this.id = id;
		this.mname = mname;
		this.ref = ref;
		this.director = director;
		this.mtype = mtype;
		this.mstar = mstar;
		this.mlength = mlength;
		this.mcomment = mcomment;
		this.mmassage = mmassage;
		this.location = location;
		this.language = language;
		this.movieImgs = movieImgs;
	}

	public Movie() {
		super();
	}

	@Override
	public String toString() {
		return "Movie [id=" + id + ", mname=" + mname + ", director=" + director + ", mtype=" + mtype + ", mstar="
				+ mstar + ", mlength=" + mlength + ", mcomment=" + mcomment + ", mmassage=" + mmassage + ", location="
				+ location + ", language=" + language + ", movieImgs=" + movieImgs + "]";
	}

}
